package com.hyt.it.ogt.ykcj.domain.zs.vo;

import com.hyt.it.ogt.ykcj.domain.zs.dto.ZsInfoDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @Description: 证书信息
 * @Author: STARF
 * @CreateDate: 2022/06/21 11:06
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "证书信息", description = "证书信息")
public class ZsInfoVO extends ZsInfoDTO {

    @ApiModelProperty(value = "发布百分比")
    private BigDecimal publishPercentage = BigDecimal.ZERO;

    @ApiModelProperty(value = "应发")
    private Integer shouldPublishNum = 0;

    @ApiModelProperty(value = "已发")
    private Integer hasPublishNum = 0;

    @ApiModelProperty(value = "未发")
    private Integer unPublishNum = 0;

    @ApiModelProperty(value = "能否删除：0-不可以删除，1-可以删除")
    private Integer deleteMark = 1;

    @ApiModelProperty(value = "不能删除的限制条件")
    private String deleteLimit;

    @ApiModelProperty(value = "允许发布 false：不允许，true：允许")
    private Boolean canPublish = Boolean.FALSE;


}
